//
//  ILProduct.m
//  Lottery
//
//  Created by app43 on 15/7/9.
//  Copyright (c) 2015年 app43. All rights reserved.
//

#import "ILProduct.h"

@implementation ILProduct

+ (id)productWithDict:(NSDictionary *)dict
{
    ILProduct *p = [[self alloc] init];
    p.title = dict[@"title"];
    p.icon = dict[@"icon"];
    p.score=dict[@"score"];
    
    
    p.url = dict[@"url"];
    p.customUrl = dict[@"customUrl"];
    p.ID = dict[@"id"];
    return p;
}



@end
